SUBDIRS = \
	ereseva \
	data \
	common \
	m4

all-local: setup.py
	python setup.py build

install-exec-local: all-local
	python setup.py install --root=${destdir} --prefix=${prefix}

install-data-local: install-exec-local

DISTCLEANFILES = Makefile.in \
				Makefile \
				intltool-extract.in \
				intltool-update.in \
				intltool-merge.orig \
				intltool-merge.in \
				config.h.in \
				po/.intltool-merge-cache \
				po/POTFILES \
				po/Makefile.in.in \
				po/Makefile.in \
				po/Makefile \
				po/stamp-it

CLEANFILES = intltool-merge \
			intltool-extract \
			intltool-update

EXTRA_DIST = setup.py \
			intltool-extract.in \
			intltool-update.in \
			intltool-merge.orig \
			intltool-merge.in \
			po/POTFILES \
			po/POTFILES.in \
			po/Makefile.in.in \
			po/Makefile.in \
			po/Makefile \
			po/ereseva.pot \
			po/da_DK.po \
			po/fr_FR.po \
			po/pt_BR.po
